 .#{$namespace}sakai-messages{

 	.container_messages{
 		margin-left: 0;
 		margin-right: 0;
 		max-width: 980px;
 	}

 	.nav_table{
 		font-size: 0.9em; 
 		margin: 0.5em 0;
 		img{
 			vertical-align: sub;
 		}
 	}

 	.searchNav{
 		.button_search{
 			margin: 0 0 0 $standard-space;
 		}
 	}

 	#adv_input{
 		background: var(--sakai-background-color-2);
 		margin: 1em 0em 1em 0em;
 		padding: 0 0 1em 0;
 		.header{
 			background: var(--sakai-background-color-2);
 			display: block;
 			font-size: 1em;
 			font-weight: 600;
 			padding: 0.8em 0.5em;
 		}
 		.specialLink{
 			margin: 0 0 0 0;
 			.button{
 				padding: 0.1em 0.8em 0em 0.8em;
 			}
 		}
 		.checkbox{
 			display: inline-block;
 			input[type="checkbox"]{
 				margin-left: 10px;
 				position: inherit;
 				+ label{
 					padding-left: 10px;
 					padding-right: 40px;
 				}
 			}
 		}
 		.shorttext{
 			display: none;
 			&.showed{
 				display: block;
 				padding: 0.5em 0em 0em 0.8em;
 				.labeled{
 					font-weight: 700;
 					display: inline-block;
 					padding: 0em 0.5em 0em 0em;
 					@media #{$phone}{
 						display: block;
 						padding: 0.4em 0 0.4em 0;
 					}
 				}
 			}
 		}
 	}

 	#pvtMsgSettings{
 		h1{
 			margin: 2em 0 0.8em 0;
 			padding: 0 0 0.5em 0;
 			border-bottom: 1px solid var(--sakai-border-color);
 		}
 		h2{
 			border-bottom: 1px solid var(--sakai-border-color);
 			margin: 2em 0 0.8em 0;
 			padding: 0 0 0.5em 0;
 		}
 	}
 	
 	#prefs_pvt_form{
 		&\:pvtmsgs, &\:threaded_pvtmsgs{
 			th{
 				min-width: 32px;
 			}
 			td.check{
 				width: 10%;
 			} 		
 			td.attach{
 				width: 1%;
 			}
 			td.reply{
 				width: 1%;
 			}
  			td.specialLink{
 				width: 25%;
 			}
  			td.created{
 				width: 25%;
 			}
  			td.date{
 				width: 18%;
 			}
			td.dateScheduler{
				width: 18%;
			}
  			td.bogus{
 				width: 17%;
 			}
			td.addressee{
				width: 17%;
			}
			td.priority{
				width: 7%;
			}
  			td.taglist{
 				width: 17%;
				list-style-type: none;
				padding: 0;
				max-width: 250px;
 			}

 			&\:pvtmsgs_filter {
 				input[type=search] {
 					margin-left: $standard-space;
 					font-weight: normal;
				}
 			}
 		}
 	}
 	
 	table.table-inline{
 		display: block;
 		margin: 0 0 1.5em 0;
 		tr, td{
 			display: inline-block;
 		}
 	}

 	.messages_viewnav{
 		margin: 1em 0;
 		label{
 			margin: 0 0.5em 5px 0;
 		}
 	}
	
	.composeForm {
	    position: relative;
	    width: 100%;
	    .row{
	    	display: block;
	    	margin-top: 10px;
	    	margin-bottom: 10px;
	    	&.bcc-row {
	    		margin: 20px -15px 20px -15px;
	    	}
	    }
	    .form-label{
	    	margin-top: 16px;
	    	margin-bottom: 10px;
	    	@media #{$phone}{
	    		margin-top:    0px;
	    		margin-bottom: 0px;
	    	}
	    }
	    .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
	        position: absolute;
	        margin-left: 0px;
	        margin-top: 4px;
	    }
	    .checkbox {
	    	margin: 0;
	    }
	    & + h4 + table{
	    	width: 100%;
	    	table {
	    		width: 100%;
	    	}
	    }
	    @media #{$phone}{
	    	.delete_selection{
	    		display: block;
	    		padding: 0.5em 0;
	    	}
	    	.pvt_send_cc{
	    		display: block;
	    	}
	    }
	}

	.dataTable {
		thead {
			.sorting:after {
				opacity: 1;
				color: var(--sakai-text-color-dimmed);
			}
			.sorting_asc, .sorting_desc {
				a {
					position: relative;
					margin-right: 11px;

					&::after {
						content: " ";
						width: 11px;
						height: 11px;
						position: absolute;
						bottom: 2px;
						right: -14px;
					}
				}
			}

			.sorting_asc {
				a::after {
					background: url(/library/image/sakai/sortascending.gif?panel=Main);
				}
			}

			.sorting_desc {
				a::after {
					background: url(/library/image/sakai/sortdescending.gif?panel=Main);
				}
			}
		}
	}
	.ToggleBulkDisabled {
		color: var(--sakai-text-color-disabled);
	}
	.DisableTags {
		pointer-events: none;
	}
}
